export type routerConfigType = {
  path: string
  component?: string
  exact?: boolean
  routes?: routerConfigType[]
  redirect?: string
  title?: string
}
export const routerConfig:routerConfigType[] = [{
  path: "/login",
  component: "/pages/Login"
}, {
  path: "/",
  component: "/layout/index",
  routes: [{
    path: "/",
    component: "/pages/Home"
  }]
}, {
  path: "*",
  redirect: "/login"
}]